package main

import (
	"fmt"
	"time"
)

// 变量
func main() {
	var name string = "小王子"
	var age int
	var isOk bool
	var floatNum float32
	fmt.Println(name)
	fmt.Println(age)
	fmt.Println(isOk)
	fmt.Println(floatNum)
	// 类型推导
	var name3 = "小王子"
	var age3 = 18
	fmt.Println(name3, age3)
	// 短变量声明
	m := 10
	fmt.Println(m)

	fmt.Println("======================================")
	fmt.Println(time.Now().UnixMilli())
}
